<?php

class DAOFactory {

    public function __construct() {
        LogUtil::info("class DAOFactory", "__construct");
    }

    public function __destruct() {
        LogUtil::info("class DAOFactory", "__destruct");
    }

    public static function getPruebaDao() {
        LogUtil::info("class DAOFactory", "getPruebaDAO");
        return new PruebaDAO();
    }
    
    public static function getMedicoDao() {
        LogUtil::info("class DAOFactory", "getMedicoDao");
        return new MedicoDAO();
    }   
    
    public static function getHorarioDao() {
        LogUtil::info("class DAOFactory", "getHorarioDao");
        return new HorarioDAO();
    }
    
    public static function getTipoTarjetaDao() {
        LogUtil::info("class DAOFactory", "getTipoTarjetaDao");
        return new TipoTarjetaDAO();
    }
    
    public static function getFichaDao() {
        LogUtil::info("class DAOFactory", "getFichaDao");
        return new FichaDAO();
    }
    
    public static function getReservaDao() {
        LogUtil::info("class DAOFactory", "getReservaDao");
        return new ReservaDAO();
    }
    
    public static function getOpcionDao() {
        LogUtil::info("class DAOFactory", "getOpcionDao");
        return new OpcionDAO();
    }
    
    public static function getAccionVisaDao() {
        LogUtil::info("class DAOFactory", "getAccionVisaDao");
        return new AccionVisaDAO();
    }
    
}
?>